package com.saxon.config;

import com.saxon.Dao.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import (User.class)
@ComponentScan("com.saxon.config")
public class applicationContext {
    @Bean
    public User user(){
        return new User ();
    }
}
